package com.library.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * library_borrow(借阅记录表)实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LibraryBorrow implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 借阅编号
     */
    private Integer borrowId;

    /**
     * 用户编号
     */
    private Integer userId;

    /**
     * 图书编号
     */
    private Integer bookId;

    /**
     * 是否已归还
     */
    private Integer isReturn;

    /**
     * 借阅时间
     */
    private LocalDateTime borrowTime;

    /**
     * 还书时间
     */
    private LocalDateTime returnTime;
}
